<template>
	<view class="container">
		<view class="withdraw-wrapper">
			<view class="title">提现金额</view>
			<view class="input-wrapper flex-y-center">
				<view class="char">￥</view>
				<input type="digit" placeholder="请输入提现金额" />
			</view>

			<view class="balance flex-x-bet-y-center">
				<text>账户余额：￥50</text>
				<text class="withdraw-all">全部提现</text>
			</view>
		</view>

		<view class="title">提现方式</view>

		<view class="form">
			<view class="form-column-item">
				<view class="label">银行名称</view>
				<view class="content">
					<input type="text" placeholder="请输入银行名称" />
				</view>
			</view>
			<view class="form-column-item">
				<view class="label">银行卡号</view>
				<view class="content">
					<input type="number" placeholder="请输入银行卡号" />
				</view>
			</view>
		</view>
		
		<view class="withdraw-btn">
			<SubmitBtn text="提现" @click="$myUni.navTo('/pages/user/withdraw')"></SubmitBtn>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.withdraw-wrapper {
		margin: 30rpx;
		background: #FFFFFF;
		border-radius: 10rpx;
		padding: 0 30rpx;

		.title {
			font-weight: 500;
			font-size: 29rpx;
			color: #333333;
			padding: 35rpx 0;
		}

		.input-wrapper {
			padding-bottom: 40rpx;
			border-bottom: 1rpx solid #F3F3F3;
		}

		.char {
			padding: 0 30rpx 0 20rpx;
			font-weight: 500;
			font-size: 46rpx;
			color: #333333;
			border-right: 1rpx solid #F3F3F3;
		}

		input {
			font-weight: 500;
			font-size: 38rpx;
			margin-left: 30rpx;
		}

		.balance {
			padding: 35rpx 0;
			font-weight: 500;
			font-size: 27rpx;
			color: #808080;
		}

		.withdraw-all {
			color: $theme-color;
		}
	}

	.title {
		padding: 0 30rpx;
		font-weight: 500;
		font-size: 31rpx;
		color: #808080;
	}
	
	.withdraw-btn{
		margin: 150rpx 30rpx;
	}
</style>